﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_manage_teacher.aspx.cs" Inherits="FineUI.Examples.admin_manage_teacher" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/
    999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../res/css/common.css" rel="stylesheet" type="text/css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" />     
                <f:Grid  ID="GridTeacher" Title="选择教师" EnableCollapse="true" ShowBorder="true" ShowHeader="true"   OnPageIndexChange="GridTeacher_PageIndexChange" OnRowClick="GridTeacher_RowClick"
            PageSize="10" AllowPaging="true" runat="server" Width="1125px" DataKeyNames="R_Id,R_Task" EnableMultiSelect="false" EnableRowClickEvent="true">

            <Columns>
                <f:RowNumberField />
                <f:BoundField  Width="180px" DataField="T_Name"  HeaderText="教师姓名" />
                <f:BoundField  Width="160px" DataField="T_Sex"  HeaderText="性别" />
                <f:BoundField Width="180px" DataField="T_Duty" HeaderText="职务"  />
                <f:BoundField Width="200px" DataField="T_Department" HeaderText="学院"  />
                <f:BoundField Width="200px" DataField="T_Contact" HeaderText="联系方式"  />
                <f:BoundField Width="220px" DataField="T_Email" HeaderText="电子邮件"  />

            </Columns>

                  
       </f:Grid>
        <br />
           <f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="1125px" EnableCollapse="true"
            Title="教师信息" ShowHeader="True">
            <Items>
                <f:Form BodyPadding="5px" ID="Form2" LabelWidth="100px" ShowBorder="false" ShowHeader="false"
                    runat="server" Title="表单 1">
                     <Rows>
                       <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                              <f:TextBox ID="tbxUserName" Label="用户名" runat="server" Enabled="false">
                              </f:TextBox>

                           <f:TextBox ID="tbxPassword" Label="密码" runat="server" Required="true" ShowRedStar="true">
                        </f:TextBox>

                           </Items>
                        </f:FormRow>

                       <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbxName" Label="姓名" TextMode="Text" Required="true" runat="server" ShowRedStar="true" >
                        </f:TextBox>

                         <f:TextBox ID="tbxSex" Label="性别" TextMode="Text" runat="server" Required="true" ShowRedStar="true">
                        </f:TextBox>

                           </Items>
                        </f:FormRow>

                        <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                        <f:TextBox ID="tbxDuty" Label="职务" TextMode="Text" runat="server">
                        </f:TextBox>

                       <f:TextBox ID="tbxDepartment" Label="学院" TextMode="Text"  runat="server">
                      </f:TextBox>

                        </Items>
                        </f:FormRow>


                        <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                        <f:TextBox ID="tbxConnect" Label="联系方式" TextMode="Text"  runat="server">
                        </f:TextBox>

                          <f:TextBox ID="tbxEmail" Label="电子邮件" TextMode="Text"  runat="server">
                        </f:TextBox>

                        </Items>
                        </f:FormRow>
                     </Rows>
                  </f:Form>
            </Items>
                      <Toolbars>
                <f:Toolbar ID="Toolbar3" runat="server" Position="Bottom" ToolbarAlign="Right">
                    <Items>
                        
                        <f:Button ID="btnUpdateTeaInform" runat="server" Text="修改信息" OnClick="btnUpdateTeaInform_Click">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>

        </f:SimpleForm>


    </form>
 </body>
</html>
